import type { GeneratedEtsLibFile } from "../../types/generated";

export const FILE: GeneratedEtsLibFile = {
  path: 'ets/arkts/@arkts.math.Decimal.d.ets',
  content: "/*\n * Copyright (c) 2024-2025 Huawei Device Co., Ltd.\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/**\n * @file Defines the Decimal for ArkTS. Decimal support arbitrary precision decimal operation.\n * @kit ArkTS\n */\n\n/**\n * The type uesd to set rounding\n *\n * @syscap SystemCapability.Utils.Lang\n * @atomicservice\n * @since 12\n */\n/**\n * The type uesd to set rounding\n *\n * @syscap SystemCapability.Utils.Lang\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ntype Rounding = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8;\n\n/**\n * The type uesd to set modulo\n *\n * @syscap SystemCapability.Utils.Lang\n * @atomicservice\n * @since 12\n */\n/**\n * The type uesd to set modulo\n *\n * @syscap SystemCapability.Utils.Lang\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ntype Modulo = Rounding | 9;\n\n/**\n * The type uesd to denote decimal value\n *\n * @syscap SystemCapability.Utils.Lang\n * @atomicservice\n * @since 12\n */\n/**\n * The type uesd to denote decimal value\n *\n * @syscap SystemCapability.Utils.Lang\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ntype Value = string | number | Decimal;\n\n/**\n * Provides configuration for decimal.\n *\n * @interface DecimalConfig\n * @syscap SystemCapability.Utils.Lang\n * @atomicservice\n * @since 12\n */\n/**\n * Provides configuration for decimal.\n *\n * @interface DecimalConfig\n * @syscap SystemCapability.Utils.Lang\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ninterface DecimalConfig {\n  /**\n   * The maximum number of significant digits of the result of an operation.\n   * Default value: 20\n   *\n   * @type { number } integer, 1 to 1e+9 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The maximum number of significant digits of the result of an operation.\n   * Default value: 20\n   *\n   * @type { number } integer, 1 to 1e+9 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  precision?: number;\n  /**\n   * The default rounding mode used when rounding the result of an operation to precision significant digits,\n   * and when rounding the return value of the round, toBinary, toDecimalPlaces, toExponential, toFixed,\n   * toHexadecimal, toNearest, toOctal, toPrecision and toSignificantDigits methods.\n   * Default value: 4 (ROUND_HALF_UP)\n   *\n   * @type { number } integer, integer, 0 to 8 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The default rounding mode used when rounding the result of an operation to precision significant digits,\n   * and when rounding the return value of the round, toBinary, toDecimalPlaces, toExponential, toFixed,\n   * toHexadecimal, toNearest, toOctal, toPrecision and toSignificantDigits methods.\n   * Default value: 4 (ROUND_HALF_UP)\n   *\n   * @type { number } integer, integer, 0 to 8 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  rounding?: Rounding;\n  /**\n   * The negative exponent value at and below which toString returns exponential notation.\n   * Default value: -7\n   *\n   * @type { number } integer, -9e15 to 0 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The negative exponent value at and below which toString returns exponential notation.\n   * Default value: -7\n   *\n   * @type { number } integer, -9e15 to 0 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toExpNeg?: number;\n  /**\n   * The positive exponent value at and above which toString returns exponential notation.\n   * Default value: 20\n   *\n   * @type { number } integer, 0 to 9e15 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The positive exponent value at and above which toString returns exponential notation.\n   * Default value: 20\n   *\n   * @type { number } integer, 0 to 9e15 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toExpPos?: number;\n  /**\n   * The negative exponent limit, i.e. the exponent value below which underflow to zero occurs.\n   * Default value: -9e15\n   *\n   * @type { number } integer, -9e15 to 0 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The negative exponent limit, i.e. the exponent value below which underflow to zero occurs.\n   * Default value: -9e15\n   *\n   * @type { number } integer, -9e15 to 0 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  minE?: number;\n  /**\n   * The positive exponent limit, i.e. the exponent value above which overflow to Infinity occurs.\n   * Default value: 9e15\n   *\n   * @type { number } integer, 0 to 9e15 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The positive exponent limit, i.e. the exponent value above which overflow to Infinity occurs.\n   * Default value: 9e15\n   *\n   * @type { number } integer, 0 to 9e15 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  maxE?: number;\n  /**\n   * The value that determines whether cryptographically-secure pseudo-random number generation is used.\n   * Default value: false\n   *\n   * @type { boolean }\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The value that determines whether cryptographically-secure pseudo-random number generation is used.\n   * Default value: false\n   *\n   * @type { boolean }\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  crypto?: boolean;\n  /**\n   * The modulo mode used when calculating the modulus: a mod n.\n   * Default value: 1 (ROUND_DOWN)\n   *\n   * @type { number } integer, 0 to 9 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The modulo mode used when calculating the modulus: a mod n.\n   * Default value: 1 (ROUND_DOWN)\n   *\n   * @type { number } integer, 0 to 9 inclusive\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  modulo?: Modulo;\n  /**\n   * If object has a 'defaults' property with value true then the new constructor will use the default configuration.\n   * Default value: false\n   *\n   * @type { boolean }\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * If object has a 'defaults' property with value true then the new constructor will use the default configuration.\n   * Default value: false\n   *\n   * @type { boolean }\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  defaults?: boolean;\n}\n\n/**\n * An arbitrary-precision Decimal type\n *\n * @syscap SystemCapability.Utils.Lang\n * @atomicservice\n * @since 12\n */\n/**\n * An arbitrary-precision Decimal type\n *\n * @syscap SystemCapability.Utils.Lang\n * @crossplatform\n * @atomicservice\n * @since 18\n */\ndeclare class Decimal {\n  /**\n   * The numbers of decimal digits.\n   *\n   * @type { number[] }\n   * @readonly\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The numbers of decimal digits.\n   *\n   * @type { number[] }\n   * @readonly\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  readonly d: number[];\n\n  /**\n   * The number of decimal exponent.\n   *\n   * @type { number }\n   * @readonly\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The number of decimal exponent.\n   *\n   * @type { number }\n   * @readonly\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  readonly e: number;\n\n  /**\n   * The number of decimal sign.\n   *\n   * @type { number }\n   * @readonly\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * The number of decimal sign.\n   *\n   * @type { number }\n   * @readonly\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  readonly s: number;\n\n  /**\n   * Return a new Decimal whose value is the absolute value of this Decimal.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the absolute value of this Decimal.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  constructor(n: Value);\n\n  /**\n   * Return a new Decimal whose value is the absolute value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the absolute value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  abs(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a whole number in the\n   * direction of negative Infinity.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a whole number in the\n   * direction of negative Infinity.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  floor(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a whole number in the\n   * direction of positive Infinity.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a whole number in the\n   * direction of positive Infinity.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  ceil(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal truncated to a whole number.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal truncated to a whole number.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  trunc(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal clamped to the range\n   * delineated by `min` and `max`.\n   *\n   * @param { Value } min {number | string | Decimal}\n   * @param { Value } max {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200001 - The value of `min` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal clamped to the range\n   * delineated by `min` and `max`.\n   *\n   * @param { Value } min {number | string | Decimal}\n   * @param { Value } max {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200001 - The value of `min` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  clamp(min: Value, max: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal plus `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal plus `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  add(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal minus `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal minus `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  sub(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is this Decimal times `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is this Decimal times `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  mul(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal divided by `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal divided by `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  div(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal modulo `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal }the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal modulo `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal }the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  mod(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the square root of this Decimal, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the square root of this Decimal, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  sqrt(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the cube root of the value of this Decimal, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the cube root of the value of this Decimal, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  cbrt(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal raised to the power `n`, rounded\n   * to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal raised to the power `n`, rounded\n   * to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  pow(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the natural exponential of the value of this Decimal,\n   * i.e. the base e raised to the power the value of this Decimal, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the natural exponential of the value of this Decimal,\n   * i.e. the base e raised to the power the value of this Decimal, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  exp(): Decimal;\n\n  /**\n   * Return the logarithm of the value of this Decimal to the specified base, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return the logarithm of the value of this Decimal to the specified base, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  log(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the natural logarithm of the value of this Decimal,\n   * rounded to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the natural logarithm of the value of this Decimal,\n   * rounded to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  ln(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the cosine of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the cosine of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  cos(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the sine of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the sine of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  sin(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the tangent of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the tangent of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  tan(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the hyperbolic cosine of the value in radians of this\n   * Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the hyperbolic cosine of the value in radians of this\n   * Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  cosh(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the hyperbolic sine of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the hyperbolic sine of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  sinh(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the hyperbolic tangent of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the hyperbolic tangent of the value in radians of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  tanh(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the arccosine (inverse cosine) in radians of the value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the arccosine (inverse cosine) in radians of the value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  acos(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the arcsine (inverse sine) in radians of the value of this\n   * Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the arcsine (inverse sine) in radians of the value of this\n   * Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  asin(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the arctangent (inverse tangent) in radians of the value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the arctangent (inverse tangent) in radians of the value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  atan(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic cosine in radians of the\n   * value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic cosine in radians of the\n   * value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  acosh(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic sine in radians of the value\n   * of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic sine in radians of the value\n   * of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  asinh(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic tangent in radians of the\n   * value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic tangent in radians of the\n   * value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  atanh(): Decimal;\n\n  /**\n   * Return\n   *   1    if the value of this Decimal is greater than the value of `n`,\n   *  -1    if the value of this Decimal is less than the value of `n`,\n   *   0    if they have the same value,\n   *   NaN  if the value of either Decimal is NaN.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { number } the number type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return\n   *   1    if the value of this Decimal is greater than the value of `n`,\n   *  -1    if the value of this Decimal is less than the value of `n`,\n   *   0    if they have the same value,\n   *   NaN  if the value of either Decimal is NaN.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { number } the number type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  comparedTo(n: Value): number;\n\n  /**\n   * Return true if the value of this Decimal is equal to the value of `n`, otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is equal to the value of `n`, otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  equals(n: Value): boolean;\n\n  /**\n   * Return true if the value of this Decimal is greater than the value of `n`, otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is greater than the value of `n`, otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  greaterThan(n: Value): boolean;\n\n  /**\n   * Return true if the value of this Decimal is greater than or equal to the value of `n`,\n   * otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is greater than or equal to the value of `n`,\n   * otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  greaterThanOrEqualTo(n: Value): boolean;\n\n  /**\n   * Return true if the value of this Decimal is less than `n`, otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is less than `n`, otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  lessThan(n: Value): boolean;\n\n  /**\n   * Return true if the value of this Decimal is less than or equal to `n`, otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is less than or equal to `n`, otherwise return false.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { boolean } the boolean type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  lessThanOrEqualTo(n: Value): boolean;\n\n  /**\n   * Return true if the value of this Decimal is a finite number, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is a finite number, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  isFinite(): boolean;\n\n  /**\n   * Return true if the value of this Decimal is an integer, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is an integer, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  isInteger(): boolean;\n\n  /**\n   * Return true if the value of this Decimal is NaN, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is NaN, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  isNaN(): boolean;\n\n  /**\n   * Return true if the value of this Decimal is negative, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is negative, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  isNegative(): boolean;\n\n  /**\n   * Return true if the value of this Decimal is positive, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is positive, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  isPositive(): boolean;\n\n  /**\n   * Return true if the value of this Decimal is 0 or -0, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return true if the value of this Decimal is 0 or -0, otherwise return false.\n   *\n   * @returns { boolean } the boolean type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  isZero(): boolean;\n\n  /**\n   * Return a new Decimal whose value is the integer part of dividing the value of this Decimal\n   * by the value of `n`, rounded to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the integer part of dividing the value of this Decimal\n   * by the value of `n`, rounded to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  dividedToIntegerBy(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal negated, i.e. as if multiplied by -1.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal negated, i.e. as if multiplied by -1.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  negate(): Decimal;\n\n  /**\n   * Return a string representing the value of this Decimal in base 2.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 2.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toBinary(): string;\n\n  /**\n   * Return a string representing the value of this Decimal in base 2, round to `significantDigits`\n   * significant digits.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 2, round to `significantDigits`\n   * significant digits.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toBinary(significantDigits: number): string;\n\n  /**\n   * Return a string representing the value of this Decimal in base 2, round to `significantDigits`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 2, round to `significantDigits`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toBinary(significantDigits: number, rounding: Rounding): string;\n\n  /**\n   * Return a string representing the value of this Decimal in base 8.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 8.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toOctal(): string;\n\n  /**\n   * Return a string representing the value of this Decimal in base 8, round to `significantDigits` significant.\n   *\n   * @param { number } significantDigits {number | string | Decimal}\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 8, round to `significantDigits` significant.\n   *\n   * @param { number } significantDigits {number | string | Decimal}\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toOctal(significantDigits: number): string;\n\n  /**\n   * Return a string representing the value of this Decimal in base 8, round to `significantDigits` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits {number | string | Decimal}\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 8, round to `significantDigits` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits {number | string | Decimal}\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toOctal(significantDigits: number, rounding: Rounding): string;\n\n  /**\n   * Return a string representing the value of this Decimal in base 16\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 16\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toHexadecimal(): string;\n\n  /**\n   * Return a string representing the value of this Decimal in base 16, round to `significantDigits` significant.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 16, round to `significantDigits` significant.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toHexadecimal(significantDigits: number): string;\n\n  /**\n   * Return a string representing the value of this Decimal in base 16, round to `significantDigits` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in base 16, round to `significantDigits` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toHexadecimal(significantDigits: number, rounding: Rounding): string;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toDecimalPlaces(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `decimalPlaces`\n   * decimal places.\n   *\n   * @param { number } decimalPlaces Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `decimalPlaces`\n   * decimal places.\n   *\n   * @param { number } decimalPlaces Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toDecimalPlaces(decimalPlaces: number): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `decimalPlaces`\n   * decimal places using rounding mode `rounding`.\n   *\n   * @param { number } decimalPlaces Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `decimalPlaces`\n   * decimal places using rounding mode `rounding`.\n   *\n   * @param { number } decimalPlaces Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toDecimalPlaces(decimalPlaces: number, rounding: Rounding): Decimal;\n\n  /**\n   * Return a string representing the value of this Decimal in exponential notation.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in exponential notation.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toExponential(): string;\n\n  /**\n   * Return a string representing the value of this Decimal in exponential notation rounded to\n   * `decimalPlaces` fixed decimal places.\n   *\n   * @param { number } decimalPlaces Decimal places. Integer, 0 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in exponential notation rounded to\n   * `decimalPlaces` fixed decimal places.\n   *\n   * @param { number } decimalPlaces Decimal places. Integer, 0 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toExponential(decimalPlaces: number): string;\n\n  /**\n   * Return a string representing the value of this Decimal in exponential notation rounded to\n   * `decimalPlaces` fixed decimal places using rounding mode `rounding`.\n   *\n   * @param { number } decimalPlaces Decimal places. Integer, 0 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in exponential notation rounded to\n   * `decimalPlaces` fixed decimal places using rounding mode `rounding`.\n   *\n   * @param { number } decimalPlaces Decimal places. Integer, 0 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toExponential(decimalPlaces: number, rounding: Rounding): string;\n\n  /**\n   * Return a string representing the value of this Decimal in normal (fixed-point).\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in normal (fixed-point).\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toFixed(): string;\n\n  /**\n   * Return a string representing the value of this Decimal in normal (fixed-point) notation to\n   * `decimalPlaces` fixed decimal places.\n   *\n   * @param { number } decimalPlaces Decimal places. Integer, 0 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces` is out of range.\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in normal (fixed-point) notation to\n   * `decimalPlaces` fixed decimal places.\n   *\n   * @param { number } decimalPlaces Decimal places. Integer, 0 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces` is out of range.\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toFixed(decimalPlaces: number): string;\n\n  /**\n   * Return a string representing the value of this Decimal in normal (fixed-point) notation to\n   * `decimalPlaces` fixed decimal places and rounded using rounding mode `rounding`.\n   *\n   * @param { number } decimalPlaces Decimal places. Integer, 0 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal in normal (fixed-point) notation to\n   * `decimalPlaces` fixed decimal places and rounded using rounding mode `rounding`.\n   *\n   * @param { number } decimalPlaces Decimal places. Integer, 0 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `decimalPlaces | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toFixed(decimalPlaces: number, rounding: Rounding): string;\n\n  /**\n   * Return an array representing the value of this Decimal as a simple fraction with an integer\n   * numerator and an integer denominator.\n   *\n   * @returns { Decimal[] } the Decimal[] type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return an array representing the value of this Decimal as a simple fraction with an integer\n   * numerator and an integer denominator.\n   *\n   * @returns { Decimal[] } the Decimal[] type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toFraction(): Decimal[];\n\n  /**\n   * Return an array representing the value of this Decimal as a simple fraction with an integer\n   * numerator and an integer denominator. The denominator will be a positive non-zero value\n   * less than or equal to `max_denominator`.\n   *\n   * @param { Value } maxDenominator {number | string | Decimal}\n   * @returns { Decimal[] } the Decimal[] type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return an array representing the value of this Decimal as a simple fraction with an integer\n   * numerator and an integer denominator. The denominator will be a positive non-zero value\n   * less than or equal to `max_denominator`.\n   *\n   * @param { Value } maxDenominator {number | string | Decimal}\n   * @returns { Decimal[] } the Decimal[] type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toFraction(maxDenominator: Value): Decimal[];\n\n  /**\n   * Returns a new Decimal whose value is the nearest multiple of `n`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Returns a new Decimal whose value is the nearest multiple of `n`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toNearest(n: Value): Decimal;\n\n  /**\n   * Returns a new Decimal whose value is the nearest multiple of `n` in the direction of rounding\n   * mode `rounding`, to the value of this Decimal.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200001 - The value of `rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Returns a new Decimal whose value is the nearest multiple of `n` in the direction of rounding\n   * mode `rounding`, to the value of this Decimal.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200001 - The value of `rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toNearest(n: Value, rounding: Rounding): Decimal;\n\n  /**\n   * Return a string representing the value of this Decimal.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toPrecision(): string;\n\n  /**\n   * Return a string representing the value of this Decimal rounded to `significantDigits` significant digits.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal rounded to `significantDigits` significant digits.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toPrecision(significantDigits: number): string;\n\n  /**\n   * Return a string representing the value of this Decimal rounded to `significantDigits` significant digits\n   * using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal rounded to `significantDigits` significant digits\n   * using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { string } the string type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toPrecision(significantDigits: number, rounding: Rounding): string;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal.\n   *\n   * @returns { Decimal } the Decimal type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toSignificantDigits(): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `significantDigits`\n   * significant digits.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `significantDigits`\n   * significant digits.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toSignificantDigits(significantDigits: number): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `significantDigits`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the value of this Decimal rounded to a maximum of `significantDigits`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { number } significantDigits Significant digits. Integer, 1 to MAX_DIGITS inclusive.\n   * @param { Rounding } rounding Rounding mode. Integer, 0 to 8 inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200001 - The value of `significantDigits | rounding` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toSignificantDigits(significantDigits: number, rounding: Rounding): Decimal;\n\n  /**\n   * Return the value of this Decimal converted to a number primitive. Zero keeps its sign.\n   *\n   * @returns { number } the number type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return the value of this Decimal converted to a number primitive. Zero keeps its sign.\n   *\n   * @returns { number } the number type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toNumber(): number;\n\n  /**\n   * Return a string representing the value of this Decimal.\n   * Return exponential notation if this Decimal has a positive exponent equal to or greater than\n   * `toExpPos`, or a negative exponent equal to or less than `toExpNeg`.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal.\n   * Return exponential notation if this Decimal has a positive exponent equal to or greater than\n   * `toExpPos`, or a negative exponent equal to or less than `toExpNeg`.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  toString(): string;\n\n  /**\n   * Return a string representing the value of this Decimal.\n   * Unlike `toString`, negative zero will include the minus sign.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a string representing the value of this Decimal.\n   * Unlike `toString`, negative zero will include the minus sign.\n   *\n   * @returns { string } the string type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  valueOf(): string;\n\n  /**\n   * Return the number of decimal places of the value of this Decimal.\n   *\n   * @returns { number } the number type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return the number of decimal places of the value of this Decimal.\n   *\n   * @returns { number } the number type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  decimalPlaces(): number;\n\n  /**\n   * Return the number of significant digits of the value of this Decimal.\n   *\n   * @returns { number } the number type\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return the number of significant digits of the value of this Decimal.\n   *\n   * @returns { number } the number type\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  precision(): number;\n\n  /**\n   * Return the number of significant digits of the value of this Decimal, whether to count \n   * integer-part trailing zeros.\n   *\n   * @param { boolean | number } includeZeros Whether to count integer-part trailing zeros: true, false,\n   * 1 or 0.\n   * @returns { number } the number type\n   * @throws { BusinessError } 10200001 - The value of `includeZeros` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return the number of significant digits of the value of this Decimal, whether to count\n   * integer-part trailing zeros.\n   *\n   * @param { boolean | number } includeZeros Whether to count integer-part trailing zeros: true, false,\n   * 1 or 0.\n   * @returns { number } the number type\n   * @throws { BusinessError } 10200001 - The value of `includeZeros` is out of range.\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  precision(includeZeros: boolean | number): number;\n\n  /**\n   * Return a new Decimal whose value is the absolute value of `n`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the absolute value of `n`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static abs(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `n` round to an integer using `ROUND_FLOOR`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `n` round to an integer using `ROUND_FLOOR`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static floor(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `n` rounded to an integer using `ROUND_CEIL`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `n` rounded to an integer using `ROUND_CEIL`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static ceil(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `n` truncated to an integer.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `n` truncated to an integer.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static trunc(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `n` clamped to the range delineated by `min` and `max`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @param { Value } min {number | string | Decimal}\n   * @param { Value } max {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200001 - The value of `min` is out of range.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `n` clamped to the range delineated by `min` and `max`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @param { Value } min {number | string | Decimal}\n   * @param { Value } max {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200001 - The value of `min` is out of range.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static clamp(n: Value, min: Value, max: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the sum of `x` and `y`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the sum of `x` and `y`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static add(x: Value, y: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the sum of the arguments, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * Only the result is rounded, not the intermediate calculations.\n   *\n   * @param { Value[] } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the sum of the arguments, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * Only the result is rounded, not the intermediate calculations.\n   *\n   * @param { Value[] } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static sum(...n: Value[]): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `x` minus `y`, rounded to `precision` significant digits\n   * using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `x` minus `y`, rounded to `precision` significant digits\n   * using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static sub(x: Value, y: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `x` multiplied by `y`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `x` multiplied by `y`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static mul(x: Value, y: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `x` divided by `y`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `x` divided by `y`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static div(x: Value, y: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `x` modulo `y`, rounded to `precision` significant digits\n   * using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `x` modulo `y`, rounded to `precision` significant digits\n   * using rounding mode `rounding`.\n   *\n   * @param { Value } x {number | string | Decimal}\n   * @param { Value } y {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static mod(x: Value, y: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the square root of `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the square root of `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static sqrt(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the cube root of `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the cube root of `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static cbrt(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is `base` raised to the power `exponent`, rounded to precision\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } base {number | string | Decimal} The base.\n   * @param { Value } exponent {number | string | Decimal} The exponent.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `base` raised to the power `exponent`, rounded to precision\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } base {number | string | Decimal} The base.\n   * @param { Value } exponent {number | string | Decimal} The exponent.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static pow(base: Value, exponent: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the natural exponential of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the natural exponential of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static exp(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the log of `n` to the base `base`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @param { Value } base {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the log of `n` to the base `base`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @param { Value } base {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static log(n: Value, base: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the natural logarithm of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the natural logarithm of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static ln(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the base 2 logarithm of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the base 2 logarithm of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static log2(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the base 10 logarithm of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the base 10 logarithm of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static log10(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the cosine of `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the cosine of `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static cos(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the sine of `n`, rounded to `precision` significant digits\n   * using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the sine of `n`, rounded to `precision` significant digits\n   * using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static sin(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the tangent of `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the tangent of `n`, rounded to `precision` significant\n   * digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static tan(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the hyperbolic cosine of `n`, rounded to precision\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the hyperbolic cosine of `n`, rounded to precision\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static cosh(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the hyperbolic sine of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the hyperbolic sine of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static sinh(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the hyperbolic tangent of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the hyperbolic tangent of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static tanh(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the arccosine in radians of `n`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the arccosine in radians of `n`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static acos(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the arcsine in radians of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the arcsine in radians of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static asin(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the arctangent in radians of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the arctangent in radians of `n`, rounded to `precision`\n   * significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static atan(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic cosine of `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic cosine of `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static acosh(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic sine of `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic sine of `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static asinh(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic tangent of `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the inverse of the hyperbolic tangent of `n`, rounded to\n   * `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal} A value in radians.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static atanh(n: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the arctangent in radians of `y/x` in the range -pi to pi\n   * (inclusive), rounded to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } y {number | string | Decimal} The y-coordinate.\n   * @param { Value } x {number | string | Decimal} The x-coordinate.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the arctangent in radians of `y/x` in the range -pi to pi\n   * (inclusive), rounded to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value } y {number | string | Decimal} The y-coordinate.\n   * @param { Value } x {number | string | Decimal} The x-coordinate.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200060 - Precision limit exceeded.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static atan2(y: Value, x: Value): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the square root of the sum of the squares of the arguments,\n   * rounded to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value[] } n {number | string | Decimal} Decimal\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the square root of the sum of the squares of the arguments,\n   * rounded to `precision` significant digits using rounding mode `rounding`.\n   *\n   * @param { Value[] } n {number | string | Decimal} Decimal\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static hypot(...n: Value[]): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the maximum of the arguments.\n   *\n   * @param { Value[] } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the maximum of the arguments.\n   *\n   * @param { Value[] } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static max(...n: Value[]): Decimal;\n\n  /**\n   * Return a new Decimal whose value is the minimum of the arguments.\n   *\n   * @param { Value[] } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is the minimum of the arguments.\n   *\n   * @param { Value[] } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static min(...n: Value[]): Decimal;\n\n  /**\n   * Returns a new Decimal with a random value equal to or greater than 0 and less than 1.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200061 - Crypto unavailable\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Returns a new Decimal with a random value equal to or greater than 0 and less than 1.\n   *\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 10200061 - Crypto unavailable\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static random(): Decimal;\n\n  /**\n   * Returns a new Decimal with a random value equal to or greater than 0 and less than 1, and with\n   * `significantDigits` significant digits (or less if trailing zeros are produced).\n   *\n   * @param { Value } significantDigits {number} Significant digits. Integer, 0 to MAX_DIGITS inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200061 - Crypto unavailable\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Returns a new Decimal with a random value equal to or greater than 0 and less than 1, and with\n   * `significantDigits` significant digits (or less if trailing zeros are produced).\n   *\n   * @param { Value } significantDigits {number} Significant digits. Integer, 0 to MAX_DIGITS inclusive.\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200061 - Crypto unavailable\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static random(significantDigits: number): Decimal;\n\n  /**\n   * Return the sign of the passed value to the method.\n   *   1    if x > 0,\n   *  -1    if x < 0,\n   *   0    if x is 0,\n   *  -0    if x is -0,\n   *   NaN  otherwise\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return the sign of the passed value to the method.\n   *   1    if x > 0,\n   *  -1    if x < 0,\n   *   0    if x is 0,\n   *  -0    if x is -0,\n   *   NaN  otherwise\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static sign(n: Value): number;\n\n  /**\n   * Return a new Decimal whose value is `n` rounded to an integer using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Return a new Decimal whose value is `n` rounded to an integer using rounding mode `rounding`.\n   *\n   * @param { Value } n {number | string | Decimal}\n   * @returns { Decimal } the Decimal type\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static round(n: Value): Decimal;\n\n  /**\n   * Configures the 'global' settings for this particular Decimal constructor.\n   *\n   * @param { DecimalConfig } An object with one or more of the following properties,\n   *   precision  {number}\n   *   rounding   {number}\n   *   toExpNeg   {number}\n   *   toExpPos   {number}\n   *   maxE       {number}\n   *   minE       {number}\n   *   modulo     {number}\n   *   crypto     {boolean|number}\n   *   defaults   {true}\n   * @returns { void }\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200001 - The value of `DecimalConfig.properties` is out of range.\n   * @throws { BusinessError } 10200061 - Crypto unavailable\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Configures the 'global' settings for this particular Decimal constructor.\n   *\n   * @param { DecimalConfig } An object with one or more of the following properties,\n   *   precision  {number}\n   *   rounding   {number}\n   *   toExpNeg   {number}\n   *   toExpPos   {number}\n   *   maxE       {number}\n   *   minE       {number}\n   *   modulo     {number}\n   *   crypto     {boolean|number}\n   *   defaults   {true}\n   * @returns { void }\n   * @throws { BusinessError } 401 - Parameter error. Possible causes:\n   *                                    1. Incorrect parameter types;\n   *                                    2. Parameter verification failed.\n   * @throws { BusinessError } 10200001 - The value of `DecimalConfig.properties` is out of range.\n   * @throws { BusinessError } 10200061 - Crypto unavailable\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static set(config: DecimalConfig): void;\n\n  /**\n   * Rounds away from zero\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds away from zero\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_UP : 0;\n\n  /**\n   * Rounds towards zero\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds towards zero\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_DOWN : 1;\n\n  /**\n   * Rounds towards Infinity\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds towards Infinity\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_CEILING : 2;\n\n  /**\n   * Rounds towards -Infinity\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds towards -Infinity\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_FLOOR : 3;\n\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds away from zero\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds away from zero\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_HALF_UP : 4;\n\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds towards zero\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds towards zero\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_HALF_DOWN : 5;\n\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds towards even neighbour\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds towards even neighbour\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_HALF_EVEN : 6;\n\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds towards Infinity\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds towards Infinity\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_HALF_CEILING : 7;\n\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds towards -Infinity\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Rounds towards nearest neighbour. If equidistant, rounds towards -Infinity\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly ROUND_HALF_FLOOR : 8;\n\n  /**\n   * Not a rounding mode, see modulo\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @atomicservice\n   * @since 12\n   */\n  /**\n   * Not a rounding mode, see modulo\n   *\n   * @readonly\n   * @static\n   * @syscap SystemCapability.Utils.Lang\n   * @crossplatform\n   * @atomicservice\n   * @since 18\n   */\n  static readonly EUCLIDEAN : 9;\n}\nexport default Decimal;\n",
}
export default FILE;